package test.through.tree;
//酬金对象,
public class Creward {
	//谁的酬金
	private String who;
	//什么时候的酬金
	private String time;
	//多少酬金
	private String howmuch;
	//酬金科目
	private String subject;
	//酬金备注
	private String remark;

	public Creward() {
	}

	public String getSort() {
		return this.time + this.subject;
	}

	public String getWho() {
		return who;
	}

	public void setWho(String who) {
		this.who = who;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getHowmuch() {
		return howmuch;
	}

	public void setHowmuch(String howmuch) {
		this.howmuch = howmuch;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String toString() {
		StringBuilder strB = new StringBuilder();
		strB.append("id=").append(who).append("\t");
		strB.append("[").append(time).append("]\t收获  ");
		strB.append(subject).append('￥');
		strB.append(howmuch).append("  ");
		strB.append(remark);
		return strB.toString();
	}

}
